package br.sed.theenemy.presentation;

/**
 * 
 * @author JulioCB
 * @email jcbjulio@gmail.com
 * 
 */
public class EnemyConstants {

	//Format to convert Form date <-> DB date
	public final static String SIMPLE_DATE_FORMAT = "dd/mm/yyyy";
	public final static String SIMPLE_DATE_FORMAT_DB = "yyyy-mm-dd";
	
	//Paginated search request
	public final static int MAX_PAGE_ITENS = 50;
	
	//Path to error pages
	public static final String ERROR_404 = "Error404";
	public static final String ERROR_PAGE = "ErrorPage";
	
	//Path to split permalink to profile
	public static final String PRIFILE_PATH = "profile/";
//	public static final String JSP = "/WEB-INF/jsp/publicProfile.jsp";
	public static final String PROFILE_PERMALINK = "../enemy/profile.do";
	
	//Types
	public static final Long CREATE = 0l;
	public static final Long COMMENT = 1l;
	public static final Long ATTACK = 2l;
	public static final Long SUPPORT = 3l;
	public static final Long DEFEND = 4l;
	public static final Long NULL_ACTION = 5l;
	public static final Long NULL_REL = 0l;
}
